//
//  ProfitNet.m
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/11/2.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#import "ProfitNet.h"
#import "BasicNetManager.h"
#import "BLHeader.h"

@implementation ProfitNet

+ (void)getMyProfit:(void (^)(id result, NSError *error))completer {
    BasicNetManager *manager = [BasicNetManager share];
    NSString *userTel = [[NSUserDefaults standardUserDefaults] objectForKey:USERTEL];
    NSDictionary *param = @{@"userTel" : userTel};
    [manager postURL:MYPROFIT param:param completer:^(id result, NSError *error) {
        if(completer) {
            completer(result, error);
        }
    }];
}

@end
